package com.jackrain.nea.wms.web.service;


import com.alibaba.dubbo.config.annotation.Service;
import com.alibaba.fastjson.JSONObject;
import com.jackrain.nea.web.TableQueryCmd;
import com.jackrain.nea.web.face.User;
import com.jackrain.nea.web.service.TableQueryService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Slf4j
@Component("TableQueryCmdImpl-wms")
@Service(protocol="dubbo", validation="true", version="100", group= "wms")
public class TableQueryCmdImpl implements TableQueryCmd {


    @Autowired
    private TableQueryService tableQueryService;


    public JSONObject getTableQuery(User userWeb,Integer TableId,String getcmd,String tabname) throws Exception {
        return tableQueryService.getTableQuery(userWeb,TableId,getcmd,tabname);
    }

}
